import requests from '@/plugins/requests'
// 1.1图片验证码
export const imagesCodeAPI = (codeNum) => requests({
  url: `/api/user-service/user/imageCode/${codeNum}`
})
// 1.2用户登录
export const loginAPI = ({ loginName, password, code, clientToken }) => requests({
  url: '/api/user-service/user/login',
  method: 'POST',
  data: {
    loginName,
    password,
    code,
    loginType: 0,
    clientToken
  }
})
